Playing with TOY: Constraints and Domain Cooperation

نویسندگان

  • Sonia Estévez Martín
  • Antonio J. Fernández
  • Fernando Sáenz-Pérez
چکیده

This paper describes T OY, an implementation of a Constraint Functional Logic Programming scheme CFLP (C), where C is a coordination domain involving the cooperation among several constraint domains D1, ..., Dn via a mediatorial domain M . This implementation follows a cooperative goal solving calculus for CFLP (C) based on lazy narrowing, invocation of solvers for each domain Di, and projection operations for converting Di constraints into Dj constraints with the aid of mediatorial constraints supplied by M . Mediatorial constraints allow solving programs that require constraints of different domains, and projection may improve performance, allowing certain solvers to profit from (the projected forms) of constraints originally intended for other solvers. As a relevant concrete instance of our CFLP (C), we implemented the cooperation among Herbrand, real arithmetic and finite domain constraints, and the mediatorial constraints relate numeric variables belonging to the last two domains. These mediatorial constraints are the bridge #== :: int -> real -> bool (that evaluates to true if their arguments are equivalent -i.e., the real value is considered to represent the integer oneand false otherwise), and the antibridge #/== :: int -> real -> bool (with a countermeaning).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the cooperation of the constraint domains , R, and F in CFLP

This paper presents a computational model for the cooperation of constraint domains and an implementation for a particular case of practical importance. The computational model supports declarative programming with lazy and possibly higher-order functions, predicates, and the cooperation of different constraint domains equipped with their respective solvers, relying on a so-called constraint fu...

متن کامل

Solving Combinatorial Problems with a Constraint Functional Logic Language

This paper describes a proposal to incorporate nite domain constraints in a functional logic system. The proposal integrates functions, higher-order patterns, partial applications, non-determinism, logical variables, currying, types, lazyness, domain variables, constraints and nite domain propagators. The paper also presents TOY(FD), an extension of the functional logic language TOY that provid...

متن کامل

Quantitative Non-diagonal Regulator Design for Uncertain Multivariable System with Hard Time-domain Constraints

In this paper a non-diagonal regulator, based on the QFT method, is synthesized for an uncertain MIMO plant whose output and control signals are subjected to hard time-domain constraints. This procedure includes the design of a non-diagonal pre-controller based on a new simple approach, followed by the sequential design of a diagonal QFT controller. We present a new formulation for the latter s...

متن کامل

Gender constancy and the effects of sex-typed televised toy commercials.

The present study represented a cognitive-developmental analysis of the effects of televised, sex-stereotypic information on children's behavior and attitudes toward toy play. The subjects were 50 male and 50 female 4-6-year-olds divided into high and low gender-constancy levels. As the children watched a cartoon, they either saw a commercial of a gender-neutral toy that showed 2 boys or 2 girl...

متن کامل

MULTI-OBJECTIVE OPTIMIZATION WITH PREEMPTIVE PRIORITY SUBJECT TO FUZZY RELATION EQUATION CONSTRAINTS

This paper studies a new multi-objective fuzzy optimization prob- lem. The objective function of this study has dierent levels. Therefore, a suitable optimized solution for this problem would be an optimized solution with preemptive priority. Since, the feasible domain is non-convex; the tra- ditional methods cannot be applied. We study this problem and determine some special structures related...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008